home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / games / pundit.zip / PUNDIT.H < prev    next >
Text File  |  1990-11-29  |  1KB  |  40 lines

  1. /*
  2.  *  Pundit.h
  3.  *      Header File for Pundit
  4.  *          Defines useful constants
  5.  *
  6.  *  Author:         Jeff Bienstadt
  7.  *
  8.  *  Environment:
  9.  *
  10.  *      Run-Time:   Microsoft Windows 3.0
  11.  *
  12.  *      Compilers/Tools:
  13.  *                  Microsoft C 6.0
  14.  *                  Microsoft Windows SDK 3.0
  15.  *
  16.  */
  17.  
  18. #define MAX_STRING     208      // maximum string resource number
  19. #define MAX_IN          60      // max seconds for window to show (1 minute)
  20. #define MAX_OUT       3600      // max seconds for window to hide (1 hour)
  21.  
  22. #define ID_TIMER        1       // ID for our timer
  23.  
  24. //  Menu Choice IDs
  25. #define IDM_SETTINGS    1       // "Settings..."       menu choice ID
  26. #define IDM_ABOUT       2       // "About Pundit..."   menu choice ID
  27. #define IDM_EXIT        3       // "Exit"              menu choice ID
  28.  
  29. // Dialog Box Control IDs
  30. #define IDC_INSCROLL    100     // IN time scroll bar
  31. #define IDC_OUTSCROLL   101     // OUT time scroll bar
  32. #define IDC_INSECS      102     // IN seconds display box
  33. #define IDC_OUTSECS     103     // OUT seconds display box
  34. #define IDC_SAVE        104     // "Save Settings" button
  35.  
  36.  
  37. //  Private Messages
  38. #define WM_jkb_START    (WM_USER+0x100) // Message to start timer
  39. #define WM_jkb_PAUSE    (WM_USER+0x101) // Message to suspend timer
  40.